package com.aizuda.boot.modules.business.contract.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

/**
 * 流程模块关联请求DTO
 */
@Data
@Schema(description = "流程模块关联请求DTO")
public class WorkflowModuleDTO {

    @Schema(description = "模板ID", required = true)
    private Long templateId;

    @Schema(description = "模块ID列表", required = true)
    @NotEmpty(message = "模块ID列表不能为空")
    private List<Integer> moduleIds;
} 